Ext.define('Risk.view.rv.RvResult', {
    extend: 'Ext.form.FieldSet',
    alias: 'widget.rvResult',
    title: '计算结果',
    layout: {
         type:'table',
         columns: 2
    },
    autoShow: true,
    initComponent: function() {
      //初始化Window中的内容
        this.items = [
           {
                readOnly : true,
                itemId:'r1',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                //TODO
                colspan:1,
                name:'r1rvpow',
                labelWidth:120,
                fieldLabel:'R1电力线[Rv]'
           },
            {
        	   margin:'0 0 0 10',
                readOnly : true,
                itemId:'r2',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                //TODO
                name:'r1rvcom',
                labelWidth:120,
                fieldLabel:'R1通信线[Rv]'
           },{
               readOnly : true,
               itemId:'r3',
               xtype:'textfield',
               style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
               fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
               //TODO
               colspan:1,
               name:'r2rvpow',
               labelWidth:120,
               fieldLabel:'R2电力线[Rv]'
          },
          {
       	   margin:'0 0 0 10',
               readOnly : true,
               itemId:'r4',
               xtype:'textfield',
               style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
               fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
               //TODO
               name:'r2rvcom',
               labelWidth:120,
               fieldLabel:'R2通信线[Rv]'
          },
          {
              readOnly : true,
              itemId:'r5',
              xtype:'textfield',
              style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
              fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
              //TODO
              colspan:1,
              name:'r3rvpow',
              labelWidth:120,
              fieldLabel:'R3电力线[Rv]'
         },
         {
      	   margin:'0 0 0 10',
              readOnly : true,
              itemId:'r6',
              xtype:'textfield',
              style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
              fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
              //TODO
              name:'r3rvcom',
              labelWidth:120,
              fieldLabel:'R3通信线[Rv]'
         } ,{
                readOnly : true,
                itemId:'r7',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                //TODO
                name:'r1rwpow',
                labelWidth:120,
                fieldLabel:'R1电力线[Rw]'
           },{
        	   margin:'0 0 0 10',
                readOnly : true,
                itemId:'r8',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                //TODO
                name:'r1rwcom',
                labelWidth:120,
                fieldLabel:'R1通信线[Rw]'
           },
           {
               readOnly : true,
               itemId:'r9',
               xtype:'textfield',
               style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
               fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
               //TODO
               name:'r2rwpow',
               labelWidth:120,
               fieldLabel:'R2电力线[Rw]'
          },{
       	   margin:'0 0 0 10',
               readOnly : true,
               itemId:'r10',
               xtype:'textfield',
               style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
               fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
               //TODO
               name:'r2rwcom',
               labelWidth:120,
               fieldLabel:'R2通信线[Rw]'
          },
           {
                readOnly : true,
                itemId:'r11',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                name:'r1rzpow',
                labelWidth:120,
                fieldLabel:'R1电力线[Rz]'
           },{
        	   margin:'0 0 0 10',
                readOnly : true,
                itemId:'r12',
                xtype:'textfield',
                style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
                fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
                name:'r1rzcom',
                labelWidth:120,
                fieldLabel:'R1通信线[Rz]'
           },
           {
               readOnly : true,
               itemId:'r13',
               xtype:'textfield',
               style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
               fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
               name:'r2rzpow',
               labelWidth:120,
               fieldLabel:'R2电力[Rz]'
          },{
       	   margin:'0 0 0 10',
               readOnly : true,
               itemId:'r14',
               xtype:'textfield',
               style:'color:red;background:none; border-right: 0px solid;border-top: 0px solid;border-left: 0px solid;border-bottom: 0px',
               fieldStyle:'background-color: #DDDDDD;color:red; background-image: none;',
               name:'r2rzcom',
               labelWidth:120,
               fieldLabel:'R2通信[Rz]'
          }/*,
           {
              xtype:'fieldcontainer',
                 items:[{
                     xtype: 'hiddenfield',
                     itemId:'rz',
                     name: 'rz',
                     value: '1'
                }]
          }*/
        ];
        this.callParent(arguments);
    }
});